package com.webmagic.house.mapper;

import com.webmagic.house.bean.Project;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface ProjectMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Project record);

    int insertSelective(Project record);

    Project selectByPrimaryKey(Integer id);
    @Select("SELECT * FROM project where project_id = #{projectId} limit 1")
    Project selectByProjectId(@Param("projectId")  String projectId);



    int updateByPrimaryKeySelective(Project record);

    int updateByPrimaryKey(Project record);
}